package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

import android.R.integer;

public class PraiseBean implements Serializable ,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5375393936070237347L;
	private int praised_item_count ;
	public int getPraised_item_count() {
		return praised_item_count;
	}
	
	//上面是要废弃的
	private UserActorBean actor ;
	private int actor_id ;
	private int like_id ;
	private TopicAndPostBean post ;
	private int target_actor_id ;
	private int target_object_id ;
	private int target_source_id ;
	private int verb_id ;
	private String verb_key ;
	private String created_time ;
	public String getCreated_time() {
		return created_time;
	}
	public UserActorBean getActor() {
		return actor;
	}
	public int getActor_id() {
		return actor_id;
	}
	public int getLike_id() {
		return like_id;
	}
	public TopicAndPostBean getPost() {
		return post;
	}
	public int getTarget_actor_id() {
		return target_actor_id;
	}
	public int getTarget_object_id() {
		return target_object_id;
	}
	public int getTarget_source_id() {
		return target_source_id;
	}
	public int getVerb_id() {
		return verb_id;
	}
	public String getVerb_key() {
		return verb_key;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, PraiseBean.class);
		}
		return null;
	}
}
